-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Remove Drawer from LazyMint form #5264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5264 +/- ##
=======================================
Coverage 45.36% 45.36%
=======================================
Files 1067 1067
Lines 55449 55449
Branches 3989 3989
=======================================
Hits 25157 25157
Misses 29601 29601
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
2f01ab1 to
cf3c54b
Compare
7bc7ef5 to
9e70db2
Compare
cf3c54b to
aa57271
Compare
9e70db2 to
aca761b
Compare
aa57271 to
43d2a7f
Compare
aca761b to
c488825
Compare
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on refactoring the `NFTLazyMintButton` and `LazyMintNftForm` components to replace the `Drawer` UI component with a `Sheet` component for a better user interface experience during the NFT minting process.
### Detailed summary
- Replaced `Drawer` with `Sheet` in `NFTLazyMintButton`.
- Added `SheetTrigger` and `SheetContent` to manage the button and form display.
- Introduced `setOpen` state in `NFTLazyMintButton` to control the `Sheet`.
- Modified `LazyMintNftForm` to accept `setOpen` prop for closing the `Sheet`.
- Updated success and error handling with `toast` notifications instead of modal context.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
43d2a7f to
9d1f75d
Compare
c488825 to
5484075
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on refactoring the
NFTLazyMintButtonandLazyMintNftFormcomponents to replace theDrawerUI with aSheetUI, improving the user interface for lazy minting NFTs.Detailed summary
DrawerwithSheetinNFTLazyMintButton.useDisclosuretouseState.LazyMintNftFormto acceptsetOpenprop for controlling theSheet.useModalContextand related modal handling.toastnotifications for success and error handling.LazyMintNftForm.